Buckaroo\Woocommerce\Gateways\AbstractPaymentGateway C

Total Complexity 109
Dependencies 18
Dependents 19
Total lines 705
Lines of code 428
Logical lines of code 173
Comment lines 176
Methods 43
Properties 11

Methods 43

Method Rating Maintainability Complexity Lines of code
getPaymentFeeVat()
A
53 10 20
process_capture()
A
50 8 28
init_form_fields()
A
40 5 69
__construct()
S
55 7 18
getScalarCheckoutField()
S
59 5 14
validate_number_field()
S
59 5 13
addGatewayHooks()
S
54 4 21
generate_buckaroo_notice_html()
S
67 5 6
get_failed_url()
S
61 4 12
setTitle()
S
53 3 24
apply_filters_or_error()
S
66 4 7
newRefundProcessorInstance()
S
62 3 12
migrateOldSettings()
S
65 3 9
init_settings()
S
61 2 13
newPaymentProcessorInstance()
S
62 2 12
replace_order_button_html()
S
72 2 6
action_woocommerce_checkout_process()
S
73 2 5
setCountry()
S
66 2 8
response_handler()
S
63 2 10
renderTemplate()
S
63 2 10
getPaymentTemplate()
S
68 2 7
get_payment_class()
S
80 2 3
validate_fields()
S
71 2 6
apply_filter_or_error()
S
71 2 6
getPaymentDescription()
S
67 2 7
can_show_financial_warining()
S
74 2 4
add_financial_warning_field()
S
62 1 12
getMode()
S
80 1 3
set_order_capture()
S
75 1 4
checkCurrencySupported()
S
79 1 3
create_capture_error()
S
68 1 9
setIcon()
S
71 1 6
addRefundSupport()
S
73 1 6
getIconPath()
S
78 1 3
getServiceCode()
S
79 1 3
process_refund()
S
78 1 3
process_payment()
S
78 1 3
setProperties()
S
64 1 9
woocommerce_session_handler()
S
82 1 3
payment_fields()
S
82 1 3
getIcon()
S
82 1 3
thankyou_description()
S
91 1 2
canShowCaptureForm()
S
82 1 3